<!--
 * @Author: lwy 1245883359@qq.com
 * @Date: 2024-06-14 16:15:29
 * @LastEditors: lwy 1245883359@qq.com
 * @LastEditTime: 2024-06-16 10:56:26
 * @FilePath: \six-bird-operation-platform\src\views\serviceClassify\quotation\components\components\setAllPrice.vue
 * @Description: 这是默认设置,请设置`customMade`, 打开koroFileHeader查看配置 进行设置: https://github.com/OBKoro1/koro1FileHeader/wiki/%E9%85%8D%E7%BD%AE
-->
<template>
  <TheCreateForm
    ref="formRefs"
    title="批量设置价格"
    :options="formOption"
    :form.sync="form"
    @submit="handleSubmit"
  >
  </TheCreateForm>
</template>

<script>
export default {
  components: {},
  data() {
    return {
      form: {},
      formOption: [
        {
          type: "input-number",
          field: "servicePrice",
          title: "",
          default: undefined,
          width: 270,
          placeholder: "服务价格",
          controls:false,
          min: 0,
          max: 99999,
          precision: 2,
          rules: [
            { required: true, message: "请输入服务价格...", trigger: "blur" },
          ],
        },
      ],
    };
  },
  mounted() {},
  methods: {
    handleSubmit(values) {
      console.log(values);
      this.$emit("multipleSubmit", values);
    },
    open() {
      this.$refs.formRefs.open();
    },
  },
};
</script>

